import request from '@/utils/request'

// 查询装扮中心列表
export function listDress(query) {
    return request({
        url: '/user/crm/dress/listPage',
        method: 'get',
        params: query
    })
}

// 查询装扮中心详细
export function getDress(id) {
    return request({
        url: '/user/crm/dress/' + id,
        method: 'get'
    })
}

// 新增装扮中心
export function addDress(data) {
    return request({
        url: '/user/crm/dress/addOrEdit',
        method: 'post',
        data: data
    })
}


// 删除装扮中心
export function delDress(id) {
    return request({
        url: '/user/crm/dress/del/' + id,
        method: 'get'
    })
}
